import {request} from "@/utils/request/request";


export class LoginApi {

    static login(data) {
        return request({
            url: '/ctApi/accountLogin',
            method: 'post',
            data: data,
            needToken: false,
        })
    }

    static updatePwd(data) {
        return request({
            url: '/ctApi/updatePwd',
            method: 'post',
            data: data
        })
    }

    static autoLogin(data) {
        return request({
            url: '/ctApi/autoLogin',
            method: 'post',
            data: data,
            needToken: false,
        })
    }

}